<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>系统安装</title>
<style type="text/css">
<!--
body{ margin: 10px; padding: 0px; }
input { padding: 5px 3px 3px 3px; font-size: 14px; color: #333; }
.funcselect {font-size: 13px; color: #333; width:88px;}
.title { font-size: 18px; font-weight: bold; height: 38px;text-align:center }
.list { font-size: 14px; height:25px; }
.intro { font-size: 12px; color: #999; width: 150px; }
.tips {font-weight:600;font-size: 16px; text-align:left;background: #F0F0F0}
-->
</style>
</head>
<body>

<table width="100" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#F0F0F0">
<tr>
<td>

<table width="100" border="0" cellpadding="0" cellspacing="1" bgcolor="#ADADAD">
<tr id="mlice">
<td>

<table width="750" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
<form action="index.php?install=1" method="post" onsubmit="return dataValidate()">
<tr>
<td colspan="2" bgcolor="#EFEFEF" class="title">系统安装</td>
</tr>

<tr>
  <th colspan="2" class="tips">基本信息</th>
</tr>
<tr>
<td width="150" align="right" bgcolor="#f7f7f7" class="list">系统名称:</td>
<td bgcolor="#FFFFFF" class="list"><input name="webname" type="text" id="webname" style="width:250px;" /></td>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">登录帐号:</td>
<td bgcolor="#FFFFFF" class="list"><input name="adminname" type="text" style="width:250px;" /> <span class="intro">创始人帐号</span></td>
</tr>

<tr>
<td align="right" bgcolor="#f7f7f7" class="list">登录密码:</td>
<td bgcolor="#FFFFFF" class="list"><input name="adminpass" type="text" style="width:250px;" /> <span class="intro">后台登录密码</span></td>
</tr>

<tr>
<td align="right" bgcolor="#f7f7f7" class="list">每页记录数:</td>
<td bgcolor="#FFFFFF" class="list"><input name="pagesize" type="text" style="width:250px;" /> <span class="intro">每页显示记录的数量</span></td>
</tr>
<tr>
  <th colspan="2" class="tips">数据库信息</th>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">mysql服务器</td>
<td bgcolor="#FFFFFF" class="list"><input name="localhost" type="text" style="width:250px;" /> <span class="intro"> 直接填数据库服务ip地址</span></td></tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">数据库名称:</td>
<td bgcolor="#FFFFFF" class="list"><input name="hostdatabase" type="text" style="width:250px;" /> <span class="intro"> 数据库名称</span></td>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">数据库帐号:</td>
<td bgcolor="#FFFFFF" class="list"><input name="user" type="text" style="width:250px;" /> <span class="intro"> 数据库链接账号</span></td>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">数据库密码:</td>
<td bgcolor="#FFFFFF" class="list"><input name="pass" type="text" style="width:250px;" /> <span class="intro">数据库链接密码</span></td>
</tr>
<tr>
  <th colspan="2" class="tips">SMTP信息</th>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">邮件服务器</td>
<td bgcolor="#FFFFFF" class="list"><input name="smtpHost" type="text" style="width:250px;" /> <span class="intro"> 
smtp邮件服务器</span></td></tr>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">登录帐号</td>
<td bgcolor="#FFFFFF" class="list"><input name="smtpUser" type="text" style="width:250px;" /> <span class="intro">
#smtp服务器登录帐号</span></td></tr>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">登录密码</td>
<td bgcolor="#FFFFFF" class="list"><input name="smtpPass" type="text" style="width:250px;" /> <span class="intro"> 
smtp服务器登录密码</span></td></tr>
</tr>
<tr>
<td align="right" bgcolor="#f7f7f7" class="list">发件人名称</td>
<td bgcolor="#FFFFFF" class="list"><input name="smtpFromName" type="text" style="width:250px;" /> <span class="intro"> 
接收者显示的发送人</span></td></tr>
</tr>


<tr>
<td colspan="2" height="1" align="right" bgcolor="#E0E0E0"></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#FFFFFF" class="list" style="height:55px;"><input type="submit" value="开始安装" /></td>
</tr>
</form>
</table></td>
</tr>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
	function dataValidate(){
	  var form = document.forms[0];
	  for(var i = 0; i < form.length; i++){
	    if(form[i].type == "text"){
		  if(form[i].value == ""){
			 window.alert("必填项不能为空");
			 form[i].focus();
			 return false;	  
		  }

		}
	  }
	}
//-->
</SCRIPT>
</body>
</html>